package com.yx.cloud.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.yx.cloud.MyApplication;
import com.yx.cloud.R;
import com.yx.cloud.utils.Intent_utils;

public class BroadcastReceiverDialog extends Activity {
    public static BroadcastReceiverDialog instance;
    private TextView tvIKnowConfirm;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.device_offline_hint_dialog);
        instance = this;
        tvIKnowConfirm = findViewById(R.id.tv_I_knowConfirm);
        tvIKnowConfirm.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                MyApplication.recvActive = false;
                Intent_utils.enterIntent(BroadcastReceiverDialog.this, MainBottomTabActivity.class);
            }
        });
    }
}
